package lab02.test35;

public class Test_35 {

    public static void main(String[] args) {
        Manager ma=new Manager();
        ma.name="肖总";
        ma.sex="女";
        ma.salary=18000;

        Salesman sa=new Salesman();
        sa.name="老汪";
        sa.sex = "男";
        sa.salary=4000;
        sa.num=200;

        Worker wo= new Worker();
        wo.name="老王";
        wo.sex="女";
        wo.days=30;
        wo.daySalary=160;


        System.out.println(ma.toString());
        System.out.println(sa.toString());
        System.out.println(wo.toString());
    }
}
